﻿Imports System.ComponentModel 
Imports System.Collections

Public Class CTRemanentesInterPA
    Implements INotifyPropertyChanged

 Private _IdPEJ As Long
 Private _IdIntermediario As Long
 Private _Intermediario As String
 Private _Remanente As Double
 Private _Cargos As Double

Public Event PropertyChanged As PropertyChangedEventHandler  Implements INotifyPropertyChanged.PropertyChanged
 
Private Sub NotificarCambio (propname As string  )
    RaiseEvent PropertyChanged(me, new PropertyChangedEventArgs(propname) )
End Sub

#Region "Porpiedades de la clase"

Public Property IdPEJ As String
    Get
        IdPEJ = Me._IdPEJ
    End Get
    Set(ByVal value As String)
        Me._IdPEJ = value
    End Set
End Property

Public Property IdIntermediario As String
    Get
        IdIntermediario = Me._IdIntermediario
    End Get
    Set(ByVal value As String)
        Me._IdIntermediario = value
    End Set
End Property


Public Property Intermediario As String
    Get
        Intermediario = Me._Intermediario
    End Get
    Set(ByVal value As String)
        Me._Intermediario = value
    End Set
End Property

Public Property Remanente As Double
    Get
        Remanente = Me._Remanente
    End Get
    Set(ByVal value As Double)
        Me._Remanente = value
    End Set
End Property

Public Property Cargos As Double
    Get
        Cargos = Me._Cargos
    End Get
    Set(ByVal value As Double)
        Me._Cargos = value
        NotificarCambio("Cargos")
    End Set
End Property

#End Region


End Class
